package com.yunsc.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 查询店铺页面参数
 * @date: 2024-04-24 15:34
 */
@ApiModel(value = "查询店铺页面参数")
@Data
public class QueryPageDTO {

    @ApiModelProperty(value = "页码", required = true)
    private Integer page = 1; // 设置默认页码为1
    @ApiModelProperty(value = "页码大小")
    @JsonProperty("pageSize")
    private Integer pageSize = 15; // 设置默认页码大小为1
    @ApiModelProperty(value = "类型")
    private Integer type;
    @ApiModelProperty(value = "搜索条件")
    private String search;

    @JsonProperty("betweenTimeStart")
    private String betweenTimeStart;
    @JsonProperty("betweenTimeEnd")
    private String betweenTimeEnd;
}
